package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息配置对象 msg_configuration
 *
 * @author ruoyi
 * @date 2024-04-01
 */
public class MsgConfiguration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String msgTitile;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String msgContent;

    /** 消息类型（数据字典） */
    @Excel(name = "消息类型", readConverterExp = "数=据字典")
    private String msgType;

    /** 触发方式（数据字典） */
    @Excel(name = "触发方式", readConverterExp = "数=据字典")
    private String triggerType;

    /** 推送方式（0：站内1：短信 2：站内加短信） */
    @Excel(name = "推送方式", readConverterExp = "0=：站内1：短信,2=：站内加短信")
    private String sendType;

    /** 状态（0：启用 1：停用） */
    @Excel(name = "状态", readConverterExp = "0=：启用,1=：停用")
    private String status;

    /** 删除标志（0删除 1存在） */
    private String delFlag;


    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;



    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMsgTitile(String msgTitile)
    {
        this.msgTitile = msgTitile;
    }

    public String getMsgTitile()
    {
        return msgTitile;
    }
    public void setMsgContent(String msgContent)
    {
        this.msgContent = msgContent;
    }

    public String getMsgContent()
    {
        return msgContent;
    }
    public void setMsgType(String msgType)
    {
        this.msgType = msgType;
    }

    public String getMsgType()
    {
        return msgType;
    }
    public void setTriggerType(String triggerType)
    {
        this.triggerType = triggerType;
    }

    public String getTriggerType()
    {
        return triggerType;
    }
    public void setSendType(String sendType)
    {
        this.sendType = sendType;
    }

    public String getSendType()
    {
        return sendType;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("msgTitile", getMsgTitile())
            .append("msgContent", getMsgContent())
            .append("msgType", getMsgType())
            .append("triggerType", getTriggerType())
            .append("sendType", getSendType())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
